package wfmanage.action;

import com.opensymphony.xwork2.ActionSupport;
import com.util.MyLog;

public class AdminLookupList extends ActionSupport {

	private String lookup = "";
	public String getLookup() {
		return lookup;
	}
	public void setLookup(String lookup) {
		this.lookup = lookup;
	}
	@Override
	
	public String execute() throws Exception {
		
		if(this.getLookup().isEmpty())
		{
			return "error";
		}
		else
		{
			lookup=this.getLookup();
			MyLog.log("lookup value:"+lookup);
			return lookup;
		}
				
	}

}
